﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows.Forms;
using AlphaNN.Forms;
using Microsoft.Win32;
using SSS.AlphaNN.Forms;
using SSS.AlphaNN.Logic;

namespace SSS.AlphaNN
{

    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            //Application.CurrentCulture = CultureInfo.InvariantCulture;
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //расскоментарить в последствии. Не решена задача смены темы во время работающего проекта
            //RegistryKey key = Registry
            //                  .CurrentUser
            //                  .OpenSubKey( @"Software\Microsoft\Windows\CurrentVersion\ThemeManager" );

            //string str = key.GetValue( "ThemeActive" ).ToString().Trim( ' ' );

            //if ( WinApi.IsVista && str == "1" )
            //{
            //    Application.Run( new MainForm() );
            //}
            //else
            //{
            Application.Run(new MainFormClassic());
            //}
        }
    }
}
